package com.yuanxin.track.dbTables;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;

/**
 * <p>文件描述：<p>
 * <p>作者：Mike<p>
 * <p>创建时间：2019-05-15<p>
 * <p>更改时间：2019-05-15<p>
 */
@Entity(nameInDb = "AnyTrackCacheModel", indexes = {@Index(value = "categoryKey DESC, categoryKey DESC, any DESC", unique = true)})
public class AnyTrackCacheModel {
    @Id(autoincrement = true)
    public Long id;
    private String categoryKey;
    private String sendUserId;
    private String any;

    @Generated(hash = 2065490058)
    public AnyTrackCacheModel(Long id, String categoryKey, String sendUserId, String any) {
        this.id = id;
        this.categoryKey = categoryKey;
        this.sendUserId = sendUserId;
        this.any = any;
    }

    @Generated(hash = 445131690)
    public AnyTrackCacheModel() {
    }

    public String getCategoryKey() {
        return categoryKey;
    }

    public void setCategoryKey(String categoryKey) {
        this.categoryKey = categoryKey;
    }

    public String getSendUserId() {
        return sendUserId;
    }

    public void setSendUserId(String sendUserId) {
        this.sendUserId = sendUserId;
    }

    public String getAny() {
        return any;
    }

    public void setAny(String any) {
        this.any = any;
    }

    @Override
    public String toString() {
        return "AnyTrackCacheModel{" +
                "categoryKey='" + categoryKey + '\'' +
                ", sendUserId='" + sendUserId + '\'' +
                ", any='" + any + '\'' +
                '}';
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }
}
